package com.genius.reservation.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.genius.reservation.common.BaseDao.BaseDao;
import com.genius.reservation.platform.entity.PlatformInformation;
import com.genius.reservation.reservation.entity.ReservationOrderInformation;

public interface PlatformInformationMapper extends BaseDao<PlatformInformation> {

    default LambdaQueryWrapper<PlatformInformation> getWrapper(){
        return new LambdaQueryWrapper();
    }
    default PlatformInformation up(PlatformInformation entity){
        this.update(entity);
        return entity;
    }

    default PlatformInformation ad(PlatformInformation entity){
        this.save(entity);
        return entity;
    }
}
